import { request } from "./https";

/*商品模糊查询*/
export function searchlike(shopname) {
  return request({
    url: "/tShop/searchbytshoplike",
    method:"GET",
    params: {
      shopname
    },
    headers:{
      "Content-type": "application/json",
    }
  });
}

/*获取所有商品信息*/
export function searchall() {
  return request({
    url: "/tClassify/search",
  });
}

/*获取所有商品信息*/
export function select(value) {
  return request({
    url: "/tShop/selectbyclassid",
    params: {
      value
    }
  });
}

/*刚进来所有商品信息*/
export function selectall() {
  return request({
    url: "/tShop/selectall"
  });
}
